@extends('prelist')
@section('left')
@parent
@endsection
@section('right')
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="/prelist">店铺操作</a><span class="crumb-step">&gt;</span><a href="/catlist">分类管理</a>
            <span class="crumb-step">&gt;</span><span class="crumb-name">添加分类</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                <form action="" method="post" id="myform" name="myform" enctype="multipart/form-data">
                {!!csrf_field()!!}
                    <table class="insert-tab" width="100%">
                        <tbody>
                            <tr>
                                <th><i class="require-red">*</i>店铺名称：</th>
                                <td>
                                    <select name="sid" id="">
                                    @foreach($stores as $s)
                                        <option value="{{$s->sid}}">{{$s->sname}}</option>
                                    @endforeach
                                    </select>
                                </td>
                            </tr>

                            <tr>
                                <th><i class="require-red">*</i>分类名称：</th>
                                <td>
                                    <input class="common-text required" id="title" name="lname" size="30" type="text" value="">
                                </td>
                            </tr>
                            
                            <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="添加" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody></table>
                </form>
            </div>
        </div>
@endsection
